3.12.35 \(\int \frac {1}{(1-x)^{9/2} (1+x)^{5/2}} \, dx\) [1135]

Optimal. Leaf size=83 \[ \frac {1}{7 (1-x)^{7/2} (1+x)^{3/2}}+\frac {1}{7 (1-x)^{5/2} (1+x)^{3/2}}+\frac {4 x}{21 (1-x)^{3/2} (1+x)^{3/2}}+\frac {8 x}{21 \sqrt {1-x} \sqrt {1+x}} \]

[Out]

1/7/(1-x)^(7/2)/(1+x)^(3/2)+1/7/(1-x)^(5/2)/(1+x)^(3/2)+4/21*x/(1-x)^(3/2)/(1+x)^(3/2)+8/21*x/(1-x)^(1/2)/(1+x
)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {47, 40, 39} \begin {gather*} \frac {8 x}{21 \sqrt {1-x} \sqrt {x+1}}+\frac {4 x}{21 (1-x)^{3/2} (x+1)^{3/2}}+\frac {1}{7 (1-x)^{5/2} (x+1)^{3/2}}+\frac {1}{7 (1-x)^{7/2} (x+1)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/((1 - x)^(9/2)*(1 + x)^(5/2)),x]

[Out]

1/(7*(1 - x)^(7/2)*(1 + x)^(3/2)) + 1/(7*(1 - x)^(5/2)*(1 + x)^(3/2)) + (4*x)/(21*(1 - x)^(3/2)*(1 + x)^(3/2))
 + (8*x)/(21*Sqrt[1 - x]*Sqrt[1 + x])

Rule 39

Int[1/(((a_) + (b_.)*(x_))^(3/2)*((c_) + (d_.)*(x_))^(3/2)), x_Symbol] :> Simp[x/(a*c*Sqrt[a + b*x]*Sqrt[c + d
*x]), x] /; FreeQ[{a, b, c, d}, x] && EqQ[b*c + a*d, 0]

Rule 40

Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(m_), x_Symbol] :> Simp[(-x)*(a + b*x)^(m + 1)*((c + d*x)^(m
+ 1)/(2*a*c*(m + 1))), x] + Dist[(2*m + 3)/(2*a*c*(m + 1)), Int[(a + b*x)^(m + 1)*(c + d*x)^(m + 1), x], x] /;
 FreeQ[{a, b, c, d}, x] && EqQ[b*c + a*d, 0] && ILtQ[m + 3/2, 0]

Rule 47

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^(n + 1
)/((b*c - a*d)*(m + 1))), x] - Dist[d*(Simplify[m + n + 2]/((b*c - a*d)*(m + 1))), Int[(a + b*x)^Simplify[m +
1]*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && ILtQ[Simplify[m + n + 2], 0] &&
 NeQ[m, -1] &&  !(LtQ[m, -1] && LtQ[n, -1] && (EqQ[a, 0] || (NeQ[c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && (
SumSimplerQ[m, 1] ||  !SumSimplerQ[n, 1])

Rubi steps

\begin {align*} \int \frac {1}{(1-x)^{9/2} (1+x)^{5/2}} \, dx &=\frac {1}{7 (1-x)^{7/2} (1+x)^{3/2}}+\frac {5}{7} \int \frac {1}{(1-x)^{7/2} (1+x)^{5/2}} \, dx\\ &=\frac {1}{7 (1-x)^{7/2} (1+x)^{3/2}}+\frac {1}{7 (1-x)^{5/2} (1+x)^{3/2}}+\frac {4}{7} \int \frac {1}{(1-x)^{5/2} (1+x)^{5/2}} \, dx\\ &=\frac {1}{7 (1-x)^{7/2} (1+x)^{3/2}}+\frac {1}{7 (1-x)^{5/2} (1+x)^{3/2}}+\frac {4 x}{21 (1-x)^{3/2} (1+x)^{3/2}}+\frac {8}{21} \int \frac {1}{(1-x)^{3/2} (1+x)^{3/2}} \, dx\\ &=\frac {1}{7 (1-x)^{7/2} (1+x)^{3/2}}+\frac {1}{7 (1-x)^{5/2} (1+x)^{3/2}}+\frac {4 x}{21 (1-x)^{3/2} (1+x)^{3/2}}+\frac {8 x}{21 \sqrt {1-x} \sqrt {1+x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.06, size = 45, normalized size = 0.54 \begin {gather*} \frac {6+9 x-24 x^2+4 x^3+16 x^4-8 x^5}{21 (1-x)^{7/2} (1+x)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/((1 - x)^(9/2)*(1 + x)^(5/2)),x]

[Out]

(6 + 9*x - 24*x^2 + 4*x^3 + 16*x^4 - 8*x^5)/(21*(1 - x)^(7/2)*(1 + x)^(3/2))

________________________________________________________________________________________

Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 2 in optimal.
time = 56.75, size = 388, normalized size = 4.67 \begin {gather*} \text {Piecewise}\left [\left \{\left \{\frac {\left (6+9 x-24 x^2+4 x^3+16 x^4-8 x^5\right ) \sqrt {\frac {1-x}{1+x}}}{21 \left (1-3 x+2 x^2+2 x^3-3 x^4+x^5\right )},\frac {1}{\text {Abs}\left [1+x\right ]}>\frac {1}{2}\right \}\right \},\frac {-140 I \left (1+x\right )^3 \sqrt {1-\frac {2}{1+x}}}{336+336 x-672 \left (1+x\right )^2-168 \left (1+x\right )^4+21 \left (1+x\right )^5+504 \left (1+x\right )^3}-\frac {35 I \left (1+x\right ) \sqrt {1-\frac {2}{1+x}}}{336+336 x-672 \left (1+x\right )^2-168 \left (1+x\right )^4+21 \left (1+x\right )^5+504 \left (1+x\right )^3}-\frac {8 I \left (1+x\right )^5 \sqrt {1-\frac {2}{1+x}}}{336+336 x-672 \left (1+x\right )^2-168 \left (1+x\right )^4+21 \left (1+x\right )^5+504 \left (1+x\right )^3}-\frac {7 I \sqrt {1-\frac {2}{1+x}}}{336+336 x-672 \left (1+x\right )^2-168 \left (1+x\right )^4+21 \left (1+x\right )^5+504 \left (1+x\right )^3}+\frac {I 56 \left (1+x\right )^4 \sqrt {1-\frac {2}{1+x}}}{336+336 x-672 \left (1+x\right )^2-168 \left (1+x\right )^4+21 \left (1+x\right )^5+504 \left (1+x\right )^3}+\frac {I 140 \left (1+x\right )^2 \sqrt {1-\frac {2}{1+x}}}{336+336 x-672 \left (1+x\right )^2-168 \left (1+x\right )^4+21 \left (1+x\right )^5+504 \left (1+x\right )^3}\right ] \end {gather*}

Warning: Unable to verify antiderivative.

[In]

mathics('Integrate[1/((1 - x)^(9/2)*(1 + x)^(5/2)),x]')

[Out]

Piecewise[{{(6 + 9 x - 24 x ^ 2 + 4 x ^ 3 + 16 x ^ 4 - 8 x ^ 5) Sqrt[(1 - x) / (1 + x)] / (21 (1 - 3 x + 2 x ^
 2 + 2 x ^ 3 - 3 x ^ 4 + x ^ 5)), 1 / Abs[1 + x] > 1 / 2}}, -140 I (1 + x) ^ 3 Sqrt[1 - 2 / (1 + x)] / (336 +
336 x - 672 (1 + x) ^ 2 - 168 (1 + x) ^ 4 + 21 (1 + x) ^ 5 + 504 (1 + x) ^ 3) - 35 I (1 + x) Sqrt[1 - 2 / (1 +
 x)] / (336 + 336 x - 672 (1 + x) ^ 2 - 168 (1 + x) ^ 4 + 21 (1 + x) ^ 5 + 504 (1 + x) ^ 3) - 8 I (1 + x) ^ 5
Sqrt[1 - 2 / (1 + x)] / (336 + 336 x - 672 (1 + x) ^ 2 - 168 (1 + x) ^ 4 + 21 (1 + x) ^ 5 + 504 (1 + x) ^ 3) -
 7 I Sqrt[1 - 2 / (1 + x)] / (336 + 336 x - 672 (1 + x) ^ 2 - 168 (1 + x) ^ 4 + 21 (1 + x) ^ 5 + 504 (1 + x) ^
 3) + I 56 (1 + x) ^ 4 Sqrt[1 - 2 / (1 + x)] / (336 + 336 x - 672 (1 + x) ^ 2 - 168 (1 + x) ^ 4 + 21 (1 + x) ^
 5 + 504 (1 + x) ^ 3) + I 140 (1 + x) ^ 2 Sqrt[1 - 2 / (1 + x)] / (336 + 336 x - 672 (1 + x) ^ 2 - 168 (1 + x)
 ^ 4 + 21 (1 + x) ^ 5 + 504 (1 + x) ^ 3)]

________________________________________________________________________________________

Maple [A]
time = 0.16, size = 86, normalized size = 1.04

method result size
gosper \(-\frac {8 x^{5}-16 x^{4}-4 x^{3}+24 x^{2}-9 x -6}{21 \left (1+x \right )^{\frac {3}{2}} \left (1-x \right )^{\frac {7}{2}}}\) \(40\)
risch \(\frac {\sqrt {\left (1+x \right ) \left (1-x \right )}\, \left (8 x^{5}-16 x^{4}-4 x^{3}+24 x^{2}-9 x -6\right )}{21 \sqrt {1-x}\, \left (1+x \right )^{\frac {3}{2}} \left (-1+x \right )^{3} \sqrt {-\left (1+x \right ) \left (-1+x \right )}}\) \(66\)
default \(\frac {1}{7 \left (1-x \right )^{\frac {7}{2}} \left (1+x \right )^{\frac {3}{2}}}+\frac {1}{7 \left (1-x \right )^{\frac {5}{2}} \left (1+x \right )^{\frac {3}{2}}}+\frac {4}{21 \left (1-x \right )^{\frac {3}{2}} \left (1+x \right )^{\frac {3}{2}}}+\frac {4}{7 \sqrt {1-x}\, \left (1+x \right )^{\frac {3}{2}}}-\frac {8 \sqrt {1-x}}{21 \left (1+x \right )^{\frac {3}{2}}}-\frac {8 \sqrt {1-x}}{21 \sqrt {1+x}}\) \(86\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(1-x)^(9/2)/(1+x)^(5/2),x,method=_RETURNVERBOSE)

[Out]

1/7/(1-x)^(7/2)/(1+x)^(3/2)+1/7/(1-x)^(5/2)/(1+x)^(3/2)+4/21/(1-x)^(3/2)/(1+x)^(3/2)+4/7/(1-x)^(1/2)/(1+x)^(3/
2)-8/21*(1-x)^(1/2)/(1+x)^(3/2)-8/21*(1-x)^(1/2)/(1+x)^(1/2)

________________________________________________________________________________________

Maxima [A]
time = 0.27, size = 91, normalized size = 1.10 \begin {gather*} \frac {8 \, x}{21 \, \sqrt {-x^{2} + 1}} + \frac {4 \, x}{21 \, {\left (-x^{2} + 1\right )}^{\frac {3}{2}}} + \frac {1}{7 \, {\left ({\left (-x^{2} + 1\right )}^{\frac {3}{2}} x^{2} - 2 \, {\left (-x^{2} + 1\right )}^{\frac {3}{2}} x + {\left (-x^{2} + 1\right )}^{\frac {3}{2}}\right )}} - \frac {1}{7 \, {\left ({\left (-x^{2} + 1\right )}^{\frac {3}{2}} x - {\left (-x^{2} + 1\right )}^{\frac {3}{2}}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(1-x)^(9/2)/(1+x)^(5/2),x, algorithm="maxima")

[Out]

8/21*x/sqrt(-x^2 + 1) + 4/21*x/(-x^2 + 1)^(3/2) + 1/7/((-x^2 + 1)^(3/2)*x^2 - 2*(-x^2 + 1)^(3/2)*x + (-x^2 + 1
)^(3/2)) - 1/7/((-x^2 + 1)^(3/2)*x - (-x^2 + 1)^(3/2))

________________________________________________________________________________________

Fricas [A]
time = 0.30, size = 101, normalized size = 1.22 \begin {gather*} \frac {6 \, x^{6} - 12 \, x^{5} - 6 \, x^{4} + 24 \, x^{3} - 6 \, x^{2} - {\left (8 \, x^{5} - 16 \, x^{4} - 4 \, x^{3} + 24 \, x^{2} - 9 \, x - 6\right )} \sqrt {x + 1} \sqrt {-x + 1} - 12 \, x + 6}{21 \, {\left (x^{6} - 2 \, x^{5} - x^{4} + 4 \, x^{3} - x^{2} - 2 \, x + 1\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(1-x)^(9/2)/(1+x)^(5/2),x, algorithm="fricas")

[Out]

1/21*(6*x^6 - 12*x^5 - 6*x^4 + 24*x^3 - 6*x^2 - (8*x^5 - 16*x^4 - 4*x^3 + 24*x^2 - 9*x - 6)*sqrt(x + 1)*sqrt(-
x + 1) - 12*x + 6)/(x^6 - 2*x^5 - x^4 + 4*x^3 - x^2 - 2*x + 1)

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 71.34, size = 593, normalized size = 7.14 \begin {gather*} \begin {cases} - \frac {8 \sqrt {-1 + \frac {2}{x + 1}} \left (x + 1\right )^{5}}{336 x + 21 \left (x + 1\right )^{5} - 168 \left (x + 1\right )^{4} + 504 \left (x + 1\right )^{3} - 672 \left (x + 1\right )^{2} + 336} + \frac {56 \sqrt {-1 + \frac {2}{x + 1}} \left (x + 1\right )^{4}}{336 x + 21 \left (x + 1\right )^{5} - 168 \left (x + 1\right )^{4} + 504 \left (x + 1\right )^{3} - 672 \left (x + 1\right )^{2} + 336} - \frac {140 \sqrt {-1 + \frac {2}{x + 1}} \left (x + 1\right )^{3}}{336 x + 21 \left (x + 1\right )^{5} - 168 \left (x + 1\right )^{4} + 504 \left (x + 1\right )^{3} - 672 \left (x + 1\right )^{2} + 336} + \frac {140 \sqrt {-1 + \frac {2}{x + 1}} \left (x + 1\right )^{2}}{336 x + 21 \left (x + 1\right )^{5} - 168 \left (x + 1\right )^{4} + 504 \left (x + 1\right )^{3} - 672 \left (x + 1\right )^{2} + 336} - \frac {35 \sqrt {-1 + \frac {2}{x + 1}} \left (x + 1\right )}{336 x + 21 \left (x + 1\right )^{5} - 168 \left (x + 1\right )^{4} + 504 \left (x + 1\right )^{3} - 672 \left (x + 1\right )^{2} + 336} - \frac {7 \sqrt {-1 + \frac {2}{x + 1}}}{336 x + 21 \left (x + 1\right )^{5} - 168 \left (x + 1\right )^{4} + 504 \left (x + 1\right )^{3} - 672 \left (x + 1\right )^{2} + 336} & \text {for}\: \frac {1}{\left |{x + 1}\right |} > \frac {1}{2} \\- \frac {8 i \sqrt {1 - \frac {2}{x + 1}} \left (x + 1\right )^{5}}{336 x + 21 \left (x + 1\right )^{5} - 168 \left (x + 1\right )^{4} + 504 \left (x + 1\right )^{3} - 672 \left (x + 1\right )^{2} + 336} + \frac {56 i \sqrt {1 - \frac {2}{x + 1}} \left (x + 1\right )^{4}}{336 x + 21 \left (x + 1\right )^{5} - 168 \left (x + 1\right )^{4} + 504 \left (x + 1\right )^{3} - 672 \left (x + 1\right )^{2} + 336} - \frac {140 i \sqrt {1 - \frac {2}{x + 1}} \left (x + 1\right )^{3}}{336 x + 21 \left (x + 1\right )^{5} - 168 \left (x + 1\right )^{4} + 504 \left (x + 1\right )^{3} - 672 \left (x + 1\right )^{2} + 336} + \frac {140 i \sqrt {1 - \frac {2}{x + 1}} \left (x + 1\right )^{2}}{336 x + 21 \left (x + 1\right )^{5} - 168 \left (x + 1\right )^{4} + 504 \left (x + 1\right )^{3} - 672 \left (x + 1\right )^{2} + 336} - \frac {35 i \sqrt {1 - \frac {2}{x + 1}} \left (x + 1\right )}{336 x + 21 \left (x + 1\right )^{5} - 168 \left (x + 1\right )^{4} + 504 \left (x + 1\right )^{3} - 672 \left (x + 1\right )^{2} + 336} - \frac {7 i \sqrt {1 - \frac {2}{x + 1}}}{336 x + 21 \left (x + 1\right )^{5} - 168 \left (x + 1\right )^{4} + 504 \left (x + 1\right )^{3} - 672 \left (x + 1\right )^{2} + 336} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(1-x)**(9/2)/(1+x)**(5/2),x)

[Out]

Piecewise((-8*sqrt(-1 + 2/(x + 1))*(x + 1)**5/(336*x + 21*(x + 1)**5 - 168*(x + 1)**4 + 504*(x + 1)**3 - 672*(
x + 1)**2 + 336) + 56*sqrt(-1 + 2/(x + 1))*(x + 1)**4/(336*x + 21*(x + 1)**5 - 168*(x + 1)**4 + 504*(x + 1)**3
 - 672*(x + 1)**2 + 336) - 140*sqrt(-1 + 2/(x + 1))*(x + 1)**3/(336*x + 21*(x + 1)**5 - 168*(x + 1)**4 + 504*(
x + 1)**3 - 672*(x + 1)**2 + 336) + 140*sqrt(-1 + 2/(x + 1))*(x + 1)**2/(336*x + 21*(x + 1)**5 - 168*(x + 1)**
4 + 504*(x + 1)**3 - 672*(x + 1)**2 + 336) - 35*sqrt(-1 + 2/(x + 1))*(x + 1)/(336*x + 21*(x + 1)**5 - 168*(x +
 1)**4 + 504*(x + 1)**3 - 672*(x + 1)**2 + 336) - 7*sqrt(-1 + 2/(x + 1))/(336*x + 21*(x + 1)**5 - 168*(x + 1)*
*4 + 504*(x + 1)**3 - 672*(x + 1)**2 + 336), 1/Abs(x + 1) > 1/2), (-8*I*sqrt(1 - 2/(x + 1))*(x + 1)**5/(336*x
+ 21*(x + 1)**5 - 168*(x + 1)**4 + 504*(x + 1)**3 - 672*(x + 1)**2 + 336) + 56*I*sqrt(1 - 2/(x + 1))*(x + 1)**
4/(336*x + 21*(x + 1)**5 - 168*(x + 1)**4 + 504*(x + 1)**3 - 672*(x + 1)**2 + 336) - 140*I*sqrt(1 - 2/(x + 1))
*(x + 1)**3/(336*x + 21*(x + 1)**5 - 168*(x + 1)**4 + 504*(x + 1)**3 - 672*(x + 1)**2 + 336) + 140*I*sqrt(1 -
2/(x + 1))*(x + 1)**2/(336*x + 21*(x + 1)**5 - 168*(x + 1)**4 + 504*(x + 1)**3 - 672*(x + 1)**2 + 336) - 35*I*
sqrt(1 - 2/(x + 1))*(x + 1)/(336*x + 21*(x + 1)**5 - 168*(x + 1)**4 + 504*(x + 1)**3 - 672*(x + 1)**2 + 336) -
 7*I*sqrt(1 - 2/(x + 1))/(336*x + 21*(x + 1)**5 - 168*(x + 1)**4 + 504*(x + 1)**3 - 672*(x + 1)**2 + 336), Tru
e))

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 190 vs. \(2 (59) = 118\).
time = 0.02, size = 341, normalized size = 4.11 \begin {gather*} -2 \left (\frac {-\frac {1}{7}\cdot 302231454903657293676544 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{7}-906694364710971881029632 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{5}-\frac {1}{3}\cdot 32943228584498645010743296 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{3}+\frac {77824599637691753121710080 \left (-2 \sqrt {x+1}+2 \sqrt {2}\right )}{\sqrt {-x+1}}}{2475880078570760549798248448}+\frac {10815 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{6}+763 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{4}+63 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{2}+3}{172032 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{7}}+\frac {2 \left (-\frac {7}{192} \sqrt {-x+1} \sqrt {-x+1}+\frac {5}{64}\right ) \sqrt {-x+1} \sqrt {x+1}}{\left (x+1\right )^{2}}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(1-x)^(9/2)/(1+x)^(5/2),x)

[Out]

-1/28672*(sqrt(2) - sqrt(x + 1))^7/(-x + 1)^(7/2) - 3/4096*(sqrt(2) - sqrt(x + 1))^5/(-x + 1)^(5/2) - 109/1228
8*(sqrt(2) - sqrt(x + 1))^3/(-x + 1)^(3/2) - 515/4096*(sqrt(2) - sqrt(x + 1))/sqrt(-x + 1) - 1/48*(7*x + 8)*sq
rt(-x + 1)/(x + 1)^(3/2) - 1/86016*(10815*(sqrt(2) - sqrt(x + 1))^6/(x - 1)^3 - 763*(sqrt(2) - sqrt(x + 1))^4/
(x - 1)^2 + 63*(sqrt(2) - sqrt(x + 1))^2/(x - 1) - 3)*(-x + 1)^(7/2)/(sqrt(2) - sqrt(x + 1))^7

________________________________________________________________________________________

Mupad [B]
time = 0.41, size = 86, normalized size = 1.04 \begin {gather*} \frac {9\,x\,\sqrt {1-x}+6\,\sqrt {1-x}-24\,x^2\,\sqrt {1-x}+4\,x^3\,\sqrt {1-x}+16\,x^4\,\sqrt {1-x}-8\,x^5\,\sqrt {1-x}}{\left (21\,x+21\right )\,{\left (x-1\right )}^4\,\sqrt {x+1}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((1 - x)^(9/2)*(x + 1)^(5/2)),x)

[Out]

(9*x*(1 - x)^(1/2) + 6*(1 - x)^(1/2) - 24*x^2*(1 - x)^(1/2) + 4*x^3*(1 - x)^(1/2) + 16*x^4*(1 - x)^(1/2) - 8*x
^5*(1 - x)^(1/2))/((21*x + 21)*(x - 1)^4*(x + 1)^(1/2))

________________________________________________________________________________________